πŸ“š node [[wikilink | front facing text]]
Welcome! Nobody has contributed anything to 'wikilink | front facing text' yet. You can:
  • Write something in the document below!
    • There is at least one public document in every node in the Agora. Whatever you write in it will be integrated and made available for the next visitor to read and edit.
  • Write to the Agora from social media.
    • If you follow Agora bot on a supported platform and include the wikilink [[wikilink | front facing text]] in a post, the Agora will link it here and optionally integrate your writing.
  • Sign up as a full Agora user.
    • As a full user you will be able to contribute your personal notes and resources directly to this knowledge commons. Some setup required :)
β₯… related node [[wikilinks everywhere]]
β₯… related node [[wikilinks]]
β₯… related node [[all possible wikilinks]]
β₯… related node [[auto wikilinking]]
β₯… related node [[etherpad wikilinks]]
β₯… related node [[hedgedoc wikilinks]]
β₯… related node [[jekyll wikilinks]]
β₯… related node [[wikilink dumping]]
β₯… related node [[wikilink]]
β₯… related node [[wikilinked tools]]
β₯… related node [[wikilinking tools]]
β₯… related node [[wikilinks amount to a lightweight universal standard for knowledge interoperability]]
β₯… related node [[inserting wikilinks into quotes]]
β₯… related node [[wikilinks_everywhere]]
β₯… related node [[using fuzzy links aka wikilinks in org roam]]
β₯… related node [[wikilinks vs tags]]
β₯… related node [[wikilinks which are phrases]]
β₯… related node [[closing wikilinks]]
β₯… node [[wikilink]] pulled by Agora

Wikilink

  • A wikilink looks like this: [[wikilink]]. They are text surrounded by two square brackets.
  • Wikilinks come, wait for it, from [[wiki]]s :) But they need not be limited only to things we usually think of as wikis.
    • You could use [[wikilinks everywhere]].
    • You can think of the Agora as a sort of distributed wiki, although users in this particular kind of wiki volunteer individual contributions instead of editing common pages (for now).
  • Wikilinks are the heart of this [[agora]].
  • [[pull]] [[wikilinks]] [[wikilinks everywhere]]
β₯… node [[wikilink-dumping]] pulled by Agora

wikilink dumping

  • Whenever [[wikilinks everywhere]] goes into action, it can optionally dump seen wikilinks and the URL they were seen at for the user.
    • The user can [[opt in]] to contribute a subset of this information to an [[agora]].
pull color="#b51f08"> <title>500 Internal Error wtf.
<link rel="stylesheet" href="https://doc.anagora.org/css/center.css"> <button class="pull-url" value="https://doc.anagora.org/css/center.css">">pull</button>
<div class="container-fluid text-center">
    <div class="vertical-center-row">
        <h1>500 Internal Error <small>wtf.</small></h1>
    </div>
</div>
β₯… node [[wikilinked-tools]] pulled by Agora
β₯… node [[wikilinking-tools]] pulled by Agora

Wikilinking Tools

β₯… node [[wikilinks]] pulled by Agora

Feel free to use [[[[backlinks]]]], [[wikilinks]], [[edges]], [[multilinks]], or [[whatever the fuck you want to call it]] anywhere when talking to me in reference to something on the [[anagora]] or otherwise, my browser will resolve wikilinks in the default order, aside from duckduckgo as the 3rd step for unprefixed.

What?! [[Wikilinks Everywhere]], enjoy πŸ₯°!

Wikilinks

  • im also tempted to rebrand wikilinks
    • it's kinda a weird word
    • it's not the selling point for people to join the [[agora]] I thought it was going to be
  • wikilinks are cool, I just feel like they need a cooler name
  • potential alternative names
    • netlinks
β₯… node [[wikilinks-amount-to-a-lightweight-universal-standard-for-knowledge-interoperability]] pulled by Agora
β₯… node [[wikilinks-everywhere]] pulled by Agora

Developed by [[@evan]] Boehs, [[unlicense]]d, powered by [[flancia]]

Wikilinks everywhere is a chrome extension that brings [[wikilinks]], and through it the [[internet]], to life. It can be installed on a large number of browsers and services, and will intelligently determine where [[broken]] wikilinks should go to based on your settings.

Sources

You can order or disable any of these sources at will. When a wikilink (regardless of if it is properly linked already) is detected the extension will go through these sources in that order you provided. The default order is explained below.

Options

Global

  • Error codes:
    • Comma separated HTTP status codes
    • Supports nxx
    • Default: 4xx, 5xx

Source specific

  • Ignore errors
    • Checkbox
    • Should error cases be ignored?
    • Default: Unchecked

Actual sources

Note: The last source is the catchall, no matter what it will ignore errors and faithfully complete the link. This means do nothing has importance. Don't remove or reorder

Existing

If a existing link is already present do nothing

Note: the only difference between the existing source and others is it changes nothing in the browser. By default, if the existing link resolves to global.error, it will move on to the sources below and consider replacing it with them

Note: this might have made no sense. Don't mess with it, probably, it exists for a reason

Prefix

Things like WP:link for wikipedia, or AG:link for [[anagora]], the schema looks like PREFIX:page.

Options

  • Prefixes
    • A table of prefixes and the corresponding url
      • use {page} to have the provided back link, so with the WP prefix the url would be wikipedia.org/wiki/{page}/
      • DON'T INCLUDE THE : IN THE PREFIX

[[IWLEP]]

The user's [[IWLEP]] rules. See the IWLEP page for that config, but it is it looks a lot like your config, instead made by the author of the backlink. Don't worry, it can't be faked *unless the user gets hacked but lots worse things could happen.

Unprefixed

Iterates through all the listed urls in your order until one does not error, or all error.

{page} is the value between the brackets

Options

Nothing

What does it say on the tin?

Concerns

Bandwidth

We use an extraordinarily large amount of bandwidth, and there is not much that we can do. That being said, the whole web is obese so I highly doubt we end up using more than 0.2 of the bandwidth of a standard blog (~1Kb a page so ~15kb a wikilink so ~150kb a page). Below is what we tried

βœ”οΈ Request methods

There is no STATUS request so we had to make due with HEAD. This will only fetch the part of the website that has the page name and useful information. It does not get the page contents, saving bucket loads of bandwidth.

πŸ‘·β€β™€οΈ Local catch

Once implemented we will store the last 1000 pages we checked, so if a wikilink is frequencintly used it will only be loaded once

❌ Catch server

This means storing the status code of every website we checked. I don't really like the idea of storing personal information like that.

Ratelimits

By

Browsers

  • Powercord πŸ”Œ (Discord) Plugin
  • Chrome
  • FireFox πŸ”₯🦊

[[2021-04-14]]

The plan is to get in at least two pomodoros in this to advance it somehow in the direction of a prototype. Will try to build on [[agora ext]].

pull color="#b51f08"> <title>500 Internal Error wtf.
<link rel="stylesheet" href="https://doc.anagora.org/css/center.css"> <button class="pull-url" value="https://doc.anagora.org/css/center.css">">pull</button>
<div class="container-fluid text-center">
    <div class="vertical-center-row">
        <h1>500 Internal Error <small>wtf.</small></h1>
    </div>
</div>
β₯… node [[wikilinks-vs-tags]] pulled by Agora
β₯… node [[wikilinks-which-are-phrases]] pulled by Agora
β₯… node [[wikilinks_everywhere]] pulled by Agora

[[Agora]] has this idea of having [[pull" title="[[https://anagora.org/wikilinks-everywhere | wikilinks everywhere]]" class="wikilink">wikilinks everywhere]]. And they actually write them everywhere.

The basic idea is as follow. Surround words with square brackets (as you would in marked up text) in places where you are not supposed to, like social networks. Look at [[all the toots by @flancian]] and how he surrounds every second word with them. You gotta follow the links somehow. You can copy and paste them to Agora, or you can get [[pull" title="[[https://anagora.org/agora-ext | an extension]]" class="wikilink">an extension]] for your browser.

= My implementation I don't use Firefox, so gotta make something up. I did this in ten minutes. The workflow is as follows:

*. Select text anywhere *. Press the hotkey (one key hotkey would be perfect) or select the action from the context menu *. An An [[Agora]] hypha with such name will be opened in a browser

If you have a Mac, you can recreate it by following these steps:

*. Open Automator. On Monterey, it is replaces with something else. Dunno, open the replacement. *. Create a new document. Type = //Service// | //БыстроС дСйствиС//. *. Make the service accept text from any program somewhere in the dropdowns above. It's the default option afaik. *. Add shell element. Find it in the menu to left. In Russian, it's called //Π—Π°ΠΏΡƒΡΡ‚ΠΈΡ‚ΡŒ shell-скрипт//, in English it might be called //Execute shell script//. *. Paste this code: {

HYPHA_NAME="$(cat /dev/stdin | sed -e's/.*\[\[//' -e's/\]\].*//' -e's/ /-/g'"
URL="https://anagora.org/$HYPHA_NAME" <button class="pull-url" value="https://anagora.org/$HYPHA_NAME"">pull</button>
open "$URL"

} *. Save.

Now, this service shall be available in both context menu and menu bar whenever you //select// text. You might also want to bind it to a hotkey. It can be done in the hotkey settings. You service shall appear there somewhere. I've bound the service to ⌘§.

Test it on the text below. [[https://anagora.org/melanocarpa]] should be opened:

[[melanocarpa]]

= Possible X11 implementation Just links and ideas for a possible implementor:

=> https://stackoverflow.com/questions/3983354/getting-selected-text-in-current-window | Get selected text like that => https://wiki.archlinux.org/title/Xbindkeys | Bind hotkeys with xbindkeys or whatever

And replace open with xdg-open.

πŸ“– stoas
β₯± context